<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/system/historytask/list" method="POST">
        <input type="hidden" name="pageSize" value="${pageInfo.pageSize}">
        <input type="hidden" name="pageNum" value="${pageInfo.pageNum}">
        <div class="bjui-searchBar">
            <label>流程名称：</label><input type="text" name="workflowName" value="" size="15"/>
            <button type="submit" class="btn-default" data-icon="search">查询</button>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed"  data-width="100%">
	    <thead>
	        <tr>
				<th>流程名称</th>
				<th>流程描述</th>
				<th>创建时间</th>
	            <th align="center">操作</th>
	        </tr>
	    </thead>
	    <tbody>
	        <#list pageInfo.list as history>
	            <tr>
	                <td>${history.name}</td>
	                <td>${history.description!}</td>
	                <td>${history.createTime?string('yyyy-MM-dd hh:mm:ss')}</td>
	                <td>
		                <div class="btn-group">
		                	<button type="button" class="btn-default btn-sm dropdown-toggle" data-toggle="dropdown" data-icon="copy">操作<span class="caret"></span></button>
		                    <ul class="dropdown-menu right" leave="menu">
		                        <li><a href="${ctx}/system/historytask/${history.id}/view" data-toggle="dialog" data-id="viewhistorytask${history.id}" data-title="查看已办-${history.name}" data-mask="true" data-options="{width:600,height:500}">查看</a></li>
		                    </ul>
		                </div>
	                </td>
	            </tr>
	        </#list>
	    </tbody>
	</table>
</div>
<@h.pageFooter />

